home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network PC
/
Network PC.iso
/
amiga utilities
/
communication
/
bbs
/
hydrabbsa8
/
source
/
src.lha
/
test
/
str
/
test.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1996-09-08
|
289 b
|
20 lines
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <exec/types.h>
void strCpy(char *dest,char*source)
{
int loop=0;
while (dest[loop]=source[loop++]);
}
void main( void )
{
char *str1="Testing!";
char str2[20];
puts(str1);
strCpy(str2,str1);
puts(str2);
}